package cn.platform.mapper;

import cn.platform.entity.ParentStudent;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ParentStudentMapper {

    void batchInsert(List<ParentStudent> list) ;

    @Delete("delete from jxt_parstu where parents_id=#{id}")
    void deleteByParentId(Integer id);

    Integer countByParentId(List<Integer> ids);
}
